home *** CD-ROM | disk | FTP | other *** search
- Path: news.unt.edu!news
- From: Steve Fogoros <sfogoros@hsc.unt.edu>
- Newsgroups: comp.lang.c
- Subject: Re: Fractals
- Date: Tue, 05 Mar 1996 20:56:17 -0800
- Organization: University of North Texas Health Science Center
- Message-ID: <313D1AF1.4A22@hsc.unt.edu>
- References: <4hhv43$49i@sunburst.ccs.yorku.ca> <4hibr0INN7s1@gambier.ugrad.cs.ubc.ca>
- NNTP-Posting-Host: sfogoros.hsc.unt.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- Kazimir Kylheku wrote:
- >
- > In article <4hhv43$49i@sunburst.ccs.yorku.ca>,
- > Naftali Sturm <yu114405@yorku.ca> wrote:
- > >How do you program fractals in C?
- >
- > You define a data type that can hold complex numbers. You can make it an
- > abstract data type if you wish.
- >
- > Then you define some basic operations: complex multiplication, addition,
- > norm and so forth.
- >
- > Then you compute the fractal using whatever iterative formula you wish, such as
- >
- > z = z^2 + C
-
- When you used the ^ symbol, did you intend to indicate 2 as an exponent of z or bitwise exclusive or?
-
-
- --
- Steve Fogoros, Academic Information Coordinator
- University of North Texas Health Science Center
- sfogoros@hsc.unt.edu
-